﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PhuLuc2b.aspx.cs" Inherits="ThongKe_PhuLuc2b" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
     <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <asp:UpdatePanel ID="udt" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pndetail" runat="server" Visible="true">
                <div class="row-fluid ">
                    <div class="span12">
                        <div class="box box-black">
                            <div class="box-title none_print">
                                <h3 style="color: white;"><i class="icon-file"></i>Bảng thống kê tình hình cán bộ đoàn chuyên trách các cấp</h3>
                                <div style="float: right;">

                                    <asp:LinkButton ID="btn_inthongke_table" Visible="true" runat="server" class="btn btn-warning" OnClientClick="window.print();" ToolTip="Nhấp để in danh sách thống kê đoàn viên"><i class="icon-print"></i> In thống kê</asp:LinkButton>
                                    <asp:LinkButton ID="btn_xuat_file_excel" Visible="true" runat="server" class="btn btn-lime" ToolTip="Xuất danh sách thống kê đoàn viên" OnClick="btn_xuat_file_excel_Click"><i class="icon-table"></i> Xuất file Excel</asp:LinkButton>


                                </div>
                            </div>
                            <div class="print_area box-content" >
                                <!--table bao cao-->
                                <div class="row-fluid row_scroll"  style="overflow-x:scroll; overflow-y: hidden; padding-bottom:10px;">
                                    <div style="height: 5px; margin-top: 5px;"></div>
                                    <center>
                                             <strong>
                                              <h3 style="font-family:'Times New Roman' !important; font-weight:bold; font-size: large;">Phụ lục 2b: Tình hình cán bộ đoàn chuyên trách các cấp</h3>
                                             </strong></center>
                                    <table style="width:1400px; text-align: center; border-collapse: collapse; font-family: 'Times New Roman'; font-size: 14px;" border="1">
                                        <tr>
                                            <td rowspan="2" style="font-size: small; width: 29px;"><b>TT</b></td>
                                            <td rowspan="2" style="width: 110px; font-size: small;"><b>ĐƠN VỊ</b></td>
                                            <td colspan="2" style="font-size: small"><b>TỔNG SỐ</b></td>
                                            <td colspan="<%=listTrinhDoChuyenMon.Count() %>"><b>TRÌNH ĐỘ CHUYÊN MÔN</b></td>
                                            <td colspan="<%=listTrinhDoChinhTri.Count() %>"><b>TRÌNH ĐỘ LÝ LUẬN
                                                <br />
                                                CHÍNH TRỊ</b></td>
                                            <td rowspan="2" style="font-size: x-small; width: 43px;"><b>ĐẢNG
                                                <br />
                                                VIÊN</b></td>
                                            <td rowspan="2" style="width: 66px"></span><b><span style="font-size: x-small">DÂN TỘC
                                                <br />
                                                THIỂU SỐ</span></b></td>
                                            <td rowspan="2" style="width: 35px"><b><span style="font-size: x-small">TÔN<br /> &nbsp;GIÁO</span></b></td>
                                            <td colspan="<%=listNgoaiNgu.Count() %>"><b>TRÌNH ĐỘ NGOẠI NGỮ&nbsp;</b></td>
                                            <td colspan="<%=listTinHoc.Count() %>"></span><b><span style="font-size: small">TRÌNH ĐỘ TIN HỌC</span></b></td>
                                            <td colspan="7"></span><b><span style="font-size: small">ĐỘ TUỔI</span></b></td>
                                        </tr>
                                        <tr style="font-size: x-small">
                                            <td style="height: 44px; font-size: small;">Nam</td>
                                            <td style="height: 44px; width: 30px; font-size: small;">Nữ</td>
                                            <%foreach(var item in listTrinhDoChuyenMon){ %>
                                            <td style="height: 44px; font-size: small;"><%=PageURL.GetFirstLetter(item.TenDanhMuc) %></td>
                                            <%} %>
                                            <%foreach(var item in listTrinhDoChinhTri){ %>
                                            <td style="height: 44px; font-size: small;"><%=PageURL.GetFirstLetter(item.TenDanhMuc) %></td>
                                            <%} %>
                                            
                                            <%foreach(var item in listNgoaiNgu){ %>
                                            <td style="height: 44px; font-size: small;"><%=PageURL.GetFirstLetterOfLastWord(item.TenDanhMuc) %></td>
                                            <%} %>
                                              <%foreach(var item in listTinHoc){ %>
                                            <td style="height: 44px; font-size: small;"><%=PageURL.GetFirstLetterOfLastWord(item.TenDanhMuc) %></td>
                                            <%} %>
                                            <td style="height: 44px; font-size: small;">&lt;=20</td>
                                            <td style="height: 44px; font-size: small;">21-25</td>
                                            <td style="height: 44px; font-size: small;">26-30</td>
                                            <td style="height: 44px; font-size: small;">31-35</td>
                                            <td style="height: 44px; font-size: small;">36-40</td>
                                            <td style="height: 44px; font-size: small;">41-42</td>
                                            <td style="height: 44px; width: 48px; font-size: small;">Trên 42</td>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">I</td>
                                            <td style="width: 110px; font-size: small;"><strong>CẤP TỈNH</strong></td>
                                            <asp:Label ID="lblcaptinhtong" runat ="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">1</td>
                                            <td style="width: 110px; font-size: small;">BT</td>
                                            <asp:Label ID="lblcaptinhbithu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">PBT</td>
                                            <asp:Label ID="lblcaptinhphobithu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Ban Thường Vụ</td>
                                            <asp:Label ID="lblcaptinhbanthuongvu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">3</td>
                                            <td style="width: 110px; font-size: small;">Ban Chấp Hành </td>
                                            <asp:Label ID="lblcaptinhbanchaphanh" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">4</td>
                                            <td style="width: 110px; font-size: small;">Cán Bộ Chuyên Trách</td>
                                            <asp:Label ID="lblcanbochuyentrach" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px;">II</td>
                                            <td style="width: 110px; font-size: small;"><strong>CẤP HUYỆN</strong></td>
                                            <asp:Label ID="lblcaphuyentong" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">1</td>
                                            <td style="width: 110px; font-size: small;">BT</td>
                                            <asp:Label ID="lblcaphuyenbithu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">PBT</td>
                                            <asp:Label ID="lblcaphuyenphobithu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Ban thường vụ </td>
                                            <asp:Label ID="lblcaphuyenbanthuongvu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">3</td>
                                            <td style="width: 110px; font-size: small;">Ban chấp  hành</td>
                                            <asp:Label ID="lblcaphuyenbanchaphanh" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">4</td>
                                            <td style="width: 110px; font-size: small;">Cán Bộ Chuyên Trách</td>
                                            <asp:Label ID="lblcaphuyencanbochuyentrach" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">III</td>
                                            <td style="width: 110px; font-size: small;"><strong>CẤP CƠ SỞ</strong></td>
                                            <asp:Label ID="lblcapcosotong" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">1</td>
                                            <td style="width: 110px; font-size: small;">Bí Thư</td>
                                            <asp:Label ID="lblcapcosobithu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Phó Bí Thư</td>
                                            <asp:Label ID="lblcapcosophobithu" runat="server"></asp:Label>
                                        </tr>
                                         <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Ban thường vụ</td>
                                            <asp:Label ID="lblcapcosobanthuongvu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Ban chấp hành</td>
                                            <asp:Label ID="lblcapcosobanchaphanh" runat="server"></asp:Label>
                                        </tr>
                                         <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Cán bộ chuyên trách</td>
                                            <asp:Label ID="lblcapcosocanbochuyentrach" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">*</td>
                                            <td style="width: 110px; font-size: small;"><strong>ĐOÀN XÃ,PHƯỜNG,THỊ TRẤN</strong></td>
                                            <asp:Label ID="lblchidoantong" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">1</td>
                                            <td style="width: 110px; font-size: small;">Bí Thư</td>
                                            <asp:Label ID="lblchidoanbithu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Phó Bí Thư</td>
                                            <asp:Label ID="lblchidoanphobithu" runat="server"></asp:Label>
                                        </tr>
                                         <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Ban thường vụ</td>
                                            <asp:Label ID="lblcapchidoanbanthuongvu" runat="server"></asp:Label>
                                        </tr>
                                        <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Ban chấp hành</td>
                                            <asp:Label ID="lblcapchidoanbanchaphanh" runat="server"></asp:Label>
                                        </tr>
                                         <tr>
                                            <td style="width: 29px">2</td>
                                            <td style="width: 110px; font-size: small;">Cán bộ chuyên trách</td>
                                            <asp:Label ID="lblcapchidoancanbochuyentrach" runat="server"></asp:Label>
                                        </tr>
                                    </table>
                                    </div>
                                </div>
                                
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="udtprogress" runat="server" AssociatedUpdatePanelID="udt">
        <ProgressTemplate>
            <div class="progress">
                <img src="../img/ajax-loader.gif" />
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
     <script type="text/javascript">
         $(document).ready(function () {
             $('#dvGridWidth').width($('#dvScreenWidth').width());
         });
    </script>
    <div style="height: 350px; width: 100%" class="none_print"></div>
</asp:Content>

